<?php
/**
 * Created by PhpStorm.
 * User: sun
 * Date: 2022/7/8
 * Time: 8:15 AM
 */
namespace app\common\events\content;

use app\common\models\Article;
use app\common\events\Event;

class ArticleUpdatedEvent extends Event
{
    public $article;

    /**
     * Create a new event instance.
     *
     * @return void
     */
    public function __construct(Article $article)
    {
        $this->article = $article;
    }

    /**
     * @return Article
     */
    public function getArticle()
    {
        return $this->article;
    }

}